package cn.iocoder.yudao.module.erp.controller.admin.purchaseplan.vo.purchaseequipmentdetail;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备采购计划明细分页 Request VO")
@Data
public class PurchaseEquipmentDetailPageReqVO extends PageParam {

    @Schema(description = "采购计划ID", example = "25414")
    private Long planId;

    @Schema(description = "采购计划编号(系统自动生成)")
    private String planNo;

    @Schema(description = "采购类型SERVICE/EQUIPMENT/NGINEERING/MATERIAL/DIRECT/MINOR", example = "1")
    private String purchaseType;

    @Schema(description = "分类")
    private String category;

    @Schema(description = "设备名称", example = "芋艿")
    private String equipmentName;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "参数要求")
    private String parameterRequirements;

    @Schema(description = "供应商资质要求")
    private String supplierQualification;

    @Schema(description = "商务或技术评审点要求")
    private String reviewRequirements;

    @Schema(description = "预估采购数量")
    private Integer estimatedQuantity;

    @Schema(description = "预估单价(元/含税)", example = "14625")
    private BigDecimal estimatedUnitPrice;

    @Schema(description = "合计")
    private BigDecimal totalAmount;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}